package com.llb666.shop.order.api.dto;

import lombok.Data;

import java.util.List;

/**
 * @author llb666
 */
@Data
public class OrderItemsDto {

    private List<String> itemSpecIdList;
    private List<String> itemIds;

    public static OrderItemsDto cover(List<String> itemIds, List<String> itemSpecIdList) {
        OrderItemsDto dto = new OrderItemsDto();
        dto.setItemIds(itemIds);
        dto.setItemSpecIdList(itemSpecIdList);
        return dto;
    }
}
